export const rules = {
    eventName: [
        { required: true, message: '请输入事件名称', trigger: 'blur' },
        { min: 2, max: 20, message: '用户名长度2-20位', trigger: 'blur' },
    ],
    eventCode: [
        { required: true, message: '请输入事件标识', trigger: 'blur' }
    ],
    eventValue: [
        { required: true, message: '请输入事件值', trigger: 'blur' }
    ],
    attCode: [
        {
            required: true,
            message: '请选择事件属性',
            trigger: 'change',
        },
    ],
    eventType: [
        {
            required: true,
            message: '请选择事件类型',
            trigger: 'change',
        },
    ]
}